package com.example.javaee.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("user_dislike")
public class UserDislike
{
    @TableField("userId")
    Integer userId;

    @TableField("commentId")
    Long commentId;

    public UserDislike(Integer userId, Long commentId)
    {
        this.userId = userId;
        this.commentId = commentId;
    }
}
